package com.wms.service;

import com.wms.bean.PageBean;
import com.wms.bean.ResultBean;
import com.wms.dto.WarehouseAddDTO;
import com.wms.entity.Kuqu;
import com.wms.entity.Warehouse;

import java.util.List;
import java.util.Map;

public interface StoreAreaService {
    List<Map<String, Object>> querySA();

    //更新
    int updaSA(Integer warmArea,Integer ckName,String kuName,String beizhu,Integer id);

    //分页
    PageBean<Kuqu> fenyeSA(int page, int pageSize);

    //条件筛选
    PageBean<Kuqu> chaByKu(int page, int pageSize, String ckName, String kuName);


//    //添加库区
//    int addKu(String caName,String kuName);
//    //添加温区备注
//    int addSA(String warmArea,String note);

    int addKu(Warehouse warehouse);
    ResultBean addWarehouse(WarehouseAddDTO dto);

    int deleKu(int id);
}
